/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;

import java.util.Date;

/**
 *
 * @author Master
 */
public class POJO_DoanTau {
    private String MADT;
    public void setMADT(String _maDT)
    {
        this.MADT = _maDT;
    }
    public String getMADT()
    {
        return MADT;
    }
    
    private String TENDT;
    public void setTENDT(String _tenDT)
    {
        this.TENDT = _tenDT;
    }
    public String getTENDT()
    {
        return TENDT;
    }
    
    private String HANGSX;
    public void setHANGSX(String _hangSX)
    {
        this.HANGSX = _hangSX;
    }
    public String getHANGSX()
    {
        return HANGSX;
    }
    
    private Date NGAYVANHANH;
    public void setNGAYVANHANH(Date _ngayVanHanh)
    {
        this.NGAYVANHANH = _ngayVanHanh;
    }
    public Date getNGAYVANHANH()
    {
        return NGAYVANHANH;
    }
    
    private String LOAITAU;
    public void setLOAITAU(String _loaiTau)
    {
        this.LOAITAU = _loaiTau;
    }
    public String getLOAITAU()
    {
        return LOAITAU;
    }

    public POJO_DoanTau(){
        this.HANGSX = "";
        this.MADT = "";
        this.LOAITAU = "";
        this.TENDT = "";
        this.NGAYVANHANH = new Date();
    }

    public POJO_DoanTau(String MADT, String TENDT, String HANGSX, Date NGAYVANHANH, String LOAITAU) {
        this.MADT = MADT;
        this.TENDT = TENDT;
        this.HANGSX = HANGSX;
        this.NGAYVANHANH = NGAYVANHANH;
        this.LOAITAU = LOAITAU;
    }
    
    @Override
    public String toString(){
        return this.MADT;
    }
}
